package com.bjsxt.domain;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 用户钱包地址信息
 */
@ApiModel(value = "com-bjsxt-domain-UserAddress")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "user_address")
public class UserAddress {
    public static final String COL_ID = "id";
    public static final String COL_USER_ID = "user_id";
    public static final String COL_COIN_ID = "coin_id";
    public static final String COL_ADDRESS = "address";
    public static final String COL_KEYSTORE = "keystore";
    public static final String COL_PWD = "pwd";
    public static final String COL_LAST_UPDATE_TIME = "last_update_time";
    public static final String COL_CREATED = "created";
    public static final String COL_MARKID = "markid";
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "")
    private Long id;
    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    /**
     * 币种ID
     */
    @TableField(value = "coin_id")
    @ApiModelProperty(value = "币种ID")
    private Long coinId;
    /**
     * 地址
     */
    @TableField(value = "address")
    @ApiModelProperty(value = "地址")
    private String address;
    /**
     * keystore
     */
    @TableField(value = "keystore")
    @ApiModelProperty(value = "keystore")
    private String keystore;
    /**
     * 密码
     */
    @TableField(value = "pwd")
    @ApiModelProperty(value = "密码")
    private String pwd;
    /**
     * 更新时间
     */
    @TableField(value = "last_update_time", fill = FieldFill.UPDATE)
    @ApiModelProperty(value = "更新时间")
    private Date lastUpdateTime;
    /**
     * 创建时间
     */
    @TableField(value = "created", fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date created;
    @TableField(value = "markid")
    @ApiModelProperty(value = "")
    private Long markid;
}